package com.lhz.collector.service;

import com.lhz.collector.common.RestfulResult;
import com.lhz.collector.entity.Collector;

import java.util.List;

/**
 * Created by LHZ on 2017/4/1.
 */
public interface CollectorService {
    boolean add(Collector collector);
    boolean delete(long id);
    boolean update(Collector collector);
    Collector findById(long id);
    List<Collector> findAll();
}
